﻿<%@ Page Language="C#" MasterPageFile="~/Member/iShopping-Member.Master" AutoEventWireup="true" CodeBehind="SanPhamDauGia.aspx.cs" Inherits="iShopping.Member.SanPhamDauGia" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../css/cssChiTietGioHang.css" rel="stylesheet" type="text/css" />
    <link href="../css/cssStepByStep.css" rel="stylesheet" type="text/css" />
    <link href="../css/cssGioHang.css" rel="stylesheet" type="text/css" />
    <link href="../css/cssDauGia.css" rel="stylesheet" type="text/css" />  
    <link href="../css/cssMember.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            width: 100%;
        }       
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main_content" runat="server">
   <div class ="menu">  
        <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" Height="37px"
          Orientation="Horizontal" StaticDisplayLevels="2" Width="100%" StaticSubMenuIndent="5px">
         <DynamicMenuItemStyle CssClass="submenu"/>
         <StaticMenuItemStyle CssClass="menu" Width="70px" />
          <DynamicMenuItemStyle HorizontalPadding="1px" VerticalPadding="1px" />
          <StaticMenuItemStyle HorizontalPadding="1px" VerticalPadding="1px" />                        
        </asp:Menu>          
        <asp:SiteMapDataSource ID="SiteMapDataSource1" SiteMapProvider="XmlSiteMapProvider" runat="server" />
     </div>
   <!--end menu--> 
 <div id="seperator">
 <br />
 </div>
<div id="chitietgiohang">
<div id="Sitemap" style="background-image: url('~/images/ChiTiet/bg-pathway.gif'); background-repeat: repeat-x;">
<asp:SiteMapPath ID="SiteMapPathMain" runat="server" CssClass="sitemappath" SiteMapProvider="XmlSiteMapProvider">
</asp:SiteMapPath>
</div>

<div id ="content">

<div id= "left" >
   
<!-- end avatar -->  
    
    <div id="avatar">
        <div style="border-style: solid; border-width: 1px">
            <asp:FormView ID="FormView2" runat="server" Height="74px">
                <ItemTemplate>
                    <table class="style5">
                        <tr>
                            <td class="style6" rowspan="2">
                                <asp:Image ID="AvatarImages" runat="server" Height="80px" 
                                    ImageUrl='<%# Eval("Avatar") %>' Width="80px" />
                            </td>
                            <td>
                                <asp:Label ID="lblTen" runat="server" Text='<%# Eval("TenTaiKhoan") %>'></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblLoai" runat="server" Text='<%# Eval("TenLoaiTK") %>'></asp:Label>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:FormView>
        </div>
        <div id="canhan" 
            style="margin: 2px 1px 2px 1px; padding: 1px; border-style: solid; border-width: 1px;">
            <div align="center">
                CÁ NHÂN</div>
            <asp:FormView ID="FormView3" runat="server" Height="74px" Width="186px">
                <ItemTemplate>
                    <ul>
                        <li>
                            <asp:HyperLink ID="HyperLink1" runat="server" 
                                NavigateUrl='<%# "~/Member/ThongTinCaNhan.aspx?profile=" + Eval("MaTaiKhoan") %>' 
                                Text="Thông tin tài khoản"></asp:HyperLink>
                        </li>
                        <li>
                            <asp:HyperLink ID="HyperLink3" runat="server" 
                                NavigateUrl='<%# "~/Member/ThayDoiMatKhau.aspx?profile=" + Eval("MaTaiKhoan")%>' 
                                Text="Thay đổi mật khẩu"></asp:HyperLink>
                        </li>
                        <li>
                            <asp:HyperLink ID="HyperLink2" runat="server" 
                                NavigateUrl='<%# "~/Member/PhucHoiMatKhau.aspx?profile=" + Eval("MaTaiKhoan")%>' 
                                Text="Phục hồi mật khẩu"></asp:HyperLink>
                        </li>
                    </ul>
                </ItemTemplate>
            </asp:FormView>
        </div>
<!-- end cá nhân -->

        <div id="menu">
            <div id="Div1">
            <p align="center">MUA HÀNG</p>
                <ul>
                      <li ><a href="../Member/SanPhamThang.aspx?pgn=1" ><span>Sản Phẩm Thắng</span></a></li>
                       <li ><a href="../Member/SanPhamDauGia.aspx?pgn=1" ><span>SP Đấu Giá</span></a></li>
                </ul>
            </div>
<!-- end mua hang -->
            <div id="Div2">
               <p align="center">BÁN HÀNG</p>
                   <ul>
                         <li ><a href="" ><span>Đăng Đấu Giá</span></a></li>
                         <li ><a href="" ><span>Đăng Bán</span></a></li>
                   </ul>
             </div>
        </div>
<!-- end menu-->

    </div>
    
</div>
<!-- end left -->
   
  <div id = "main" style="margin: 1px 1px 1px 1px">   
  
   <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>

 <div id="step">       
   
</div>
<div id="maincenter">    
      <div id="gioihang">
        <asp:Panel ID="pnlGioHang" runat="server">             
    <div id="titlegiohang"> THÔNG TIN SẢN PHẨM</div>
    <!-- end thong tin -->
    <div id="sanphammau">
    
        <asp:DataList ID="DataList1" runat="server" Width="100%">
            <HeaderTemplate>
                <table class="style1" 
                    style="border-style: solid; border-width: 1px; background-color: #C0C0C0">
                    <tr align="center">
                        <td width="10%">
                            Loại</td>
                        <td width="16%">
                            Hình Ảnh</td>
                        <td width="20%">
                            Tên Sản Phẩm</td>
                        <td width="15%">
                            Bắt Đầu</td>
                        <td width="15%">
                            Kết Thúc</td>
                        <td width="10%">
                            Giá</td>
                        <td width="10%">
                            Giá Thắng
                        </td>
                    </tr>
                </table>
            </HeaderTemplate>
            <FooterTemplate>
                <div ID="footersp" align="right" 
                    style="width: 100%; padding: 1px; margin: 1px; border-style: solid; border-width: 1px; background-color: #C0C0C0;">
                    Tổng tiền thanh toán (gồm VAT):
                    <asp:Label ID="lblTongTien" runat="server" Text='<%# Eval("GiaHienTai") %>'></asp:Label>
                </div>
            </FooterTemplate>
            <ItemTemplate>
                <table class="style1">
                    <tr align="center">
                        <td width="10%">
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("MaLoaiSanPham") %>'></asp:Label>
                        </td>
                        <td width="16%">
                            <asp:Image ID="Image1" runat="server" Height="82px" 
                                ImageUrl='<%# Eval("HinhAnh") %>' />
                        </td>
                        <td width="20%">
                            <asp:Label ID="Label3" runat="server" Text='<%# Eval("TenSanPham") %>'></asp:Label>
                        </td>
                        <td width="15%">
                            <asp:Label ID="Label4" runat="server" Text='<%# Eval("NgayDang") %>'></asp:Label>
                        </td>
                        <td width="15%">
                            <asp:Label ID="Label5" runat="server" Text='<%# Eval("NgayHetHan") %>'></asp:Label>
                        </td>
                        <td width="10%">
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("GiaHienTai") %>'></asp:Label>
                        </td>
                        <td width="10%">
                            Giá Thắng
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:DataList>
    
    </div>    
    <!-- end san pham mua -->    
     <div id= "phantrang">
<table id="paging">    
 <tr>
       <td>
            <asp:LinkButton ID="lbTruoc" runat="server" onclick="LinkButton1_Click">Trước</asp:LinkButton>
        </td>
        <td>
            <asp:Panel ID="Panel1" runat="server">
    
    </asp:Panel></td>
        <td>
            <asp:LinkButton ID="lbSau" runat="server" onclick="LinkButton2_Click">Sau</asp:LinkButton>
        </td>
    </tr>
</table>
<div> 
<!-- end phan trang -->
     <div id="maxacnhan" align="center">     
      </div>
   </asp:Panel>
    
   </div>
    <!--  end cong gio hang -->
</div>
 <!--  end cong main -->


  </ContentTemplate>
    </asp:UpdatePanel>

</div>
  

</div>

</div>

</asp:Content>